﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DBHelper;

namespace DemoApplication
{
    [TableOrView("UserInfo")]
    public class UserInfo
    {
        /// <summary>  
        /// 用户编号  
        /// </summary>  
        [Column("UserID")]
        [PrimaryKey(true)]
        public int UserId { get; set; }
        /// <summary>  
        /// 用户名  
        /// </summary>  
        [Column("UserName")]
        public string UserName { get; set; }
        /// <summary>  
        /// 真实姓名  
        /// </summary>  
        [Column("RealName")]
        public string RealName { get; set; }
        /// <summary>  
        /// 年龄  
        /// </summary>
        [Column("Age")]
        public byte Age { get; set; }
        /// <summary>  
        /// 性别  
        /// </summary>
        [Column("Sex")]
        public bool Sex { get; set; }
        /// <summary>  
        /// 电子邮件  
        /// </summary>
        [Column("Email")]
        public string Email { get; set; }
        /// <summary>  
        /// 手机号  
        /// </summary>
        [Column("Mobile")]
        public string Mobile { get; set; }
        /// <summary>  
        /// 电话  
        /// </summary>  
        [Column("Phone")]
        public string Phone { get; set; }
    }
}
